package com.jdbc.entity;

import java.util.List;

/**
 * @author wzm
 * @create 2023-02-22 15:22
 */
public class Test {
    public static void main(String[] args) {
        StudentCRUD studentCRUD = new StudentCRUD();
        //模糊从网页传过来修改的数据
//        Student student = new Student(5, "刘德华", "女", 35, "昆明", 1);
//        boolean b = studentCRUD.updateStudent(student);
//        if(b){
//            System.out.println("修改数据成功");
//        }
        
//        Student student = new Student();
//        student.setId(5);
//
//        Student student1 = studentCRUD.selectById(student);
//        System.out.println("student1 = " + student1);

        List<Student> list = studentCRUD.selectByAll();
        System.out.println("list = " + list);


    }
}
